<!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
  <head>
    <meta charset="utf-8">
    
    <title>Prompt 使用指南 | PureChat</title>
    <meta name="description" content="PureChat文档">
    <meta name="generator" content="VitePress v1.5.0">
    <link rel="preload stylesheet" href="/pure-docs/assets/style.B-qJtPzW.css" as="style">
    <link rel="preload stylesheet" href="/pure-docs/vp-icons.css" as="style">
    
    <script type="module" src="/pure-docs/assets/app.DI8KjbBl.js"></script>
    <link rel="preload" href="/pure-docs/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/pure-docs/assets/chunks/theme.B2vZXx0Q.js">
    <link rel="modulepreload" href="/pure-docs/assets/chunks/framework.4Ih4cC_B.js">
    <link rel="modulepreload" href="/pure-docs/assets/guides_prompts.md.hnXtj2Et.lean.js">
    <link rel="icon" href="./favicon.ico">
    <meta name="keywords" content="purechat, purechat docs">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="author" content="yongkang">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-dddcdfd5><!--[--><!--]--><!--[--><span tabindex="-1" data-v-7ed8266c></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-7ed8266c> Skip to content </a><!--]--><!----><header class="VPNav" data-v-dddcdfd5 data-v-41b73987><div class="VPNavBar" data-v-41b73987 data-v-c8c0c014><div class="wrapper" data-v-c8c0c014><div class="container" data-v-c8c0c014><div class="title" data-v-c8c0c014><div class="VPNavBarTitle has-sidebar" data-v-c8c0c014 data-v-6a5bc875><a class="title" href="/pure-docs/" data-v-6a5bc875><!--[--><!--]--><!--[--><img class="VPImage logo" src="/pure-docs/favicon.png" alt data-v-51f69da2><!--]--><span data-v-6a5bc875>PureChat</span><!--[--><!--]--></a></div></div><div class="content" data-v-c8c0c014><div class="content-body" data-v-c8c0c014><!--[--><!--]--><div class="VPNavBarSearch search" data-v-c8c0c014><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><span class="vp-icon DocSearch-Search-Icon"></span><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-c8c0c014 data-v-f6a9d743><span id="main-nav-aria-label" class="visually-hidden" data-v-f6a9d743> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/pure-docs/preface/" tabindex="0" data-v-f6a9d743 data-v-315adae3><!--[--><span data-v-315adae3>介绍</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/pure-docs/other/FAQ.html" tabindex="0" data-v-f6a9d743 data-v-315adae3><!--[--><span data-v-315adae3>常见问题</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/pure-docs/other/logs.html" tabindex="0" data-v-f6a9d743 data-v-315adae3><!--[--><span data-v-315adae3>更新日志</span><!--]--></a><!--]--><!--[--><div class="VPFlyout VPNavBarMenuGroup" data-v-f6a9d743 data-v-44066a7b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" data-v-44066a7b><span class="text" data-v-44066a7b><!----><span data-v-44066a7b>链接</span><span class="vpi-chevron-down text-icon" data-v-44066a7b></span></span></button><div class="menu" data-v-44066a7b><div class="VPMenu" data-v-44066a7b data-v-66e5ec78><div class="items" data-v-66e5ec78><!--[--><!--[--><div class="VPMenuLink" data-v-66e5ec78 data-v-4780ef5b><a class="VPLink link vp-external-link-icon" href="https://purechat.cn" target="_blank" rel="noreferrer" data-v-4780ef5b><!--[--><span data-v-4780ef5b>在线预览</span><!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-66e5ec78 data-v-4780ef5b><a class="VPLink link vp-external-link-icon" href="https://github.com/Hyk260/pure-backend" target="_blank" rel="noreferrer" data-v-4780ef5b><!--[--><span data-v-4780ef5b>后端地址</span><!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-66e5ec78 data-v-4780ef5b><a class="VPLink link vp-external-link-icon" href="https://github.com/Hyk260/PureChat/releases" target="_blank" rel="noreferrer" data-v-4780ef5b><!--[--><span data-v-4780ef5b>Electron</span><!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-66e5ec78 data-v-4780ef5b><a class="VPLink link vp-external-link-icon" href="https://gitee.com/H260788/PureChat" target="_blank" rel="noreferrer" data-v-4780ef5b><!--[--><span data-v-4780ef5b>gitee仓库</span><!--]--></a></div><!--]--><!--[--><div class="VPMenuLink" data-v-66e5ec78 data-v-4780ef5b><a class="VPLink link vp-external-link-icon" href="https://github.com/Hyk260/PureChat" target="_blank" rel="noreferrer" data-v-4780ef5b><!--[--><span data-v-4780ef5b>github仓库</span><!--]--></a></div><!--]--><!--]--></div><!--[--><!--]--></div></div></div><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-c8c0c014 data-v-219b4e13><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-219b4e13 data-v-e6285956 data-v-2451b378><span class="check" data-v-2451b378><span class="icon" data-v-2451b378><!--[--><span class="vpi-sun sun" data-v-e6285956></span><span class="vpi-moon moon" data-v-e6285956></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-c8c0c014 data-v-a7b92d49 data-v-8bcc5e76><!--[--><a class="VPSocialLink no-icon" href="https://github.com/Hyk260/PureChat" aria-label="github" target="_blank" rel="noopener" data-v-8bcc5e76 data-v-fafda883><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://jq.qq.com/?_wv=1027&amp;k=Cd4Ihd2J" aria-label target="_blank" rel="noopener" data-v-8bcc5e76 data-v-fafda883>
<svg height="2500" viewBox="-1.94 0 124.879 145.085" width="2101" xmlns="http://www.w3.org/2000/svg">
	<path
		d="m60.503 142.237c-12.533 0-24.038-4.195-31.445-10.46-3.762 1.124-8.574 2.932-11.61 5.175-2.6 1.918-2.275 3.874-1.807 4.663 2.056 3.47 35.273 2.216 44.862 1.136zm0 0c12.535 0 24.039-4.195 31.447-10.46 3.76 1.124 8.573 2.932 11.61 5.175 2.598 1.918 2.274 3.874 1.805 4.663-2.056 3.47-35.272 2.216-44.862 1.136zm0 0"
		fill="#faab07"
	/>
	<path
		d="m60.576 67.119c20.698-.14 37.286-4.147 42.907-5.683 1.34-.367 2.056-1.024 2.056-1.024.005-.189.085-3.37.085-5.01 0-27.634-13.044-55.401-45.124-55.402-32.08.001-45.125 27.769-45.125 55.401 0 1.642.08 4.822.086 5.01 0 0 .583.615 1.65.913 5.19 1.444 22.09 5.65 43.312 5.795zm56.245 23.02c-1.283-4.129-3.034-8.944-4.808-13.568 0 0-1.02-.126-1.537.023-15.913 4.623-35.202 7.57-49.9 7.392h-.153c-14.616.175-33.774-2.737-49.634-7.315-.606-.175-1.802-.1-1.802-.1-1.774 4.624-3.525 9.44-4.808 13.568-6.119 19.69-4.136 27.838-2.627 28.02 3.239.392 12.606-14.821 12.606-14.821 0 15.459 13.957 39.195 45.918 39.413h.848c31.96-.218 45.917-23.954 45.917-39.413 0 0 9.368 15.213 12.607 14.822 1.508-.183 3.491-8.332-2.627-28.021"
	/>
	<path
		d="m49.085 40.824c-4.352.197-8.07-4.76-8.304-11.063-.236-6.305 3.098-11.576 7.45-11.773 4.347-.195 8.064 4.76 8.3 11.065.238 6.306-3.097 11.577-7.446 11.771m31.133-11.063c-.233 6.302-3.951 11.26-8.303 11.063-4.35-.195-7.684-5.465-7.446-11.77.236-6.305 3.952-11.26 8.3-11.066 4.352.197 7.686 5.468 7.449 11.773"
		fill="#fff"
	/>
	<path
		d="m87.952 49.725c-1.162-2.575-12.875-5.445-27.374-5.445h-.156c-14.5 0-26.212 2.87-27.375 5.446a.863.863 0 0 0 -.085.367c0 .186.063.352.16.496.98 1.427 13.985 8.487 27.3 8.487h.156c13.314 0 26.319-7.058 27.299-8.487a.873.873 0 0 0 .16-.498.856.856 0 0 0 -.085-.365"
		fill="#faab07"
	/>
	<path
		d="m54.434 29.854c.199 2.49-1.167 4.702-3.046 4.943-1.883.242-3.568-1.58-3.768-4.07-.197-2.492 1.167-4.704 3.043-4.944 1.886-.244 3.574 1.58 3.771 4.07m11.956.833c.385-.689 3.004-4.312 8.427-2.993 1.425.347 2.084.857 2.223 1.057.205.296.262.718.053 1.286-.412 1.126-1.263 1.095-1.734.875-.305-.142-4.082-2.66-7.562 1.097-.24.257-.668.346-1.073.04-.407-.308-.574-.93-.334-1.362"
	/>
	<path
		d="m60.576 83.08h-.153c-9.996.12-22.116-1.204-33.854-3.518-1.004 5.818-1.61 13.132-1.09 21.853 1.316 22.043 14.407 35.9 34.614 36.1h.82c20.208-.2 33.298-14.057 34.616-36.1.52-8.723-.087-16.035-1.092-21.854-11.739 2.315-23.862 3.64-33.86 3.518"
		fill="#fff"
	/>
	<g fill="#eb1923">
		<path d="m32.102 81.235v21.693s9.937 2.004 19.893.616v-20.009c-6.307-.357-13.109-1.152-19.893-2.3" />
		<path
			d="m105.539 60.412s-19.33 6.102-44.963 6.275h-.153c-25.591-.172-44.896-6.255-44.962-6.275l-6.474 16.158c16.193 4.882 36.261 8.028 51.436 7.845h.153c15.175.183 35.242-2.963 51.437-7.845zm0 0"
		/>
	</g>
</svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-c8c0c014 data-v-191085c3 data-v-44066a7b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-44066a7b><span class="vpi-more-horizontal icon" data-v-44066a7b></span></button><div class="menu" data-v-44066a7b><div class="VPMenu" data-v-44066a7b data-v-66e5ec78><!----><!--[--><!--[--><!----><div class="group" data-v-191085c3><div class="item appearance" data-v-191085c3><p class="label" data-v-191085c3>Appearance</p><div class="appearance-action" data-v-191085c3><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-191085c3 data-v-e6285956 data-v-2451b378><span class="check" data-v-2451b378><span class="icon" data-v-2451b378><!--[--><span class="vpi-sun sun" data-v-e6285956></span><span class="vpi-moon moon" data-v-e6285956></span><!--]--></span></span></button></div></div></div><div class="group" data-v-191085c3><div class="item social-links" data-v-191085c3><div class="VPSocialLinks social-links-list" data-v-191085c3 data-v-8bcc5e76><!--[--><a class="VPSocialLink no-icon" href="https://github.com/Hyk260/PureChat" aria-label="github" target="_blank" rel="noopener" data-v-8bcc5e76 data-v-fafda883><span class="vpi-social-github"></span></a><a class="VPSocialLink no-icon" href="https://jq.qq.com/?_wv=1027&amp;k=Cd4Ihd2J" aria-label target="_blank" rel="noopener" data-v-8bcc5e76 data-v-fafda883>
<svg height="2500" viewBox="-1.94 0 124.879 145.085" width="2101" xmlns="http://www.w3.org/2000/svg">
	<path
		d="m60.503 142.237c-12.533 0-24.038-4.195-31.445-10.46-3.762 1.124-8.574 2.932-11.61 5.175-2.6 1.918-2.275 3.874-1.807 4.663 2.056 3.47 35.273 2.216 44.862 1.136zm0 0c12.535 0 24.039-4.195 31.447-10.46 3.76 1.124 8.573 2.932 11.61 5.175 2.598 1.918 2.274 3.874 1.805 4.663-2.056 3.47-35.272 2.216-44.862 1.136zm0 0"
		fill="#faab07"
	/>
	<path
		d="m60.576 67.119c20.698-.14 37.286-4.147 42.907-5.683 1.34-.367 2.056-1.024 2.056-1.024.005-.189.085-3.37.085-5.01 0-27.634-13.044-55.401-45.124-55.402-32.08.001-45.125 27.769-45.125 55.401 0 1.642.08 4.822.086 5.01 0 0 .583.615 1.65.913 5.19 1.444 22.09 5.65 43.312 5.795zm56.245 23.02c-1.283-4.129-3.034-8.944-4.808-13.568 0 0-1.02-.126-1.537.023-15.913 4.623-35.202 7.57-49.9 7.392h-.153c-14.616.175-33.774-2.737-49.634-7.315-.606-.175-1.802-.1-1.802-.1-1.774 4.624-3.525 9.44-4.808 13.568-6.119 19.69-4.136 27.838-2.627 28.02 3.239.392 12.606-14.821 12.606-14.821 0 15.459 13.957 39.195 45.918 39.413h.848c31.96-.218 45.917-23.954 45.917-39.413 0 0 9.368 15.213 12.607 14.822 1.508-.183 3.491-8.332-2.627-28.021"
	/>
	<path
		d="m49.085 40.824c-4.352.197-8.07-4.76-8.304-11.063-.236-6.305 3.098-11.576 7.45-11.773 4.347-.195 8.064 4.76 8.3 11.065.238 6.306-3.097 11.577-7.446 11.771m31.133-11.063c-.233 6.302-3.951 11.26-8.303 11.063-4.35-.195-7.684-5.465-7.446-11.77.236-6.305 3.952-11.26 8.3-11.066 4.352.197 7.686 5.468 7.449 11.773"
		fill="#fff"
	/>
	<path
		d="m87.952 49.725c-1.162-2.575-12.875-5.445-27.374-5.445h-.156c-14.5 0-26.212 2.87-27.375 5.446a.863.863 0 0 0 -.085.367c0 .186.063.352.16.496.98 1.427 13.985 8.487 27.3 8.487h.156c13.314 0 26.319-7.058 27.299-8.487a.873.873 0 0 0 .16-.498.856.856 0 0 0 -.085-.365"
		fill="#faab07"
	/>
	<path
		d="m54.434 29.854c.199 2.49-1.167 4.702-3.046 4.943-1.883.242-3.568-1.58-3.768-4.07-.197-2.492 1.167-4.704 3.043-4.944 1.886-.244 3.574 1.58 3.771 4.07m11.956.833c.385-.689 3.004-4.312 8.427-2.993 1.425.347 2.084.857 2.223 1.057.205.296.262.718.053 1.286-.412 1.126-1.263 1.095-1.734.875-.305-.142-4.082-2.66-7.562 1.097-.24.257-.668.346-1.073.04-.407-.308-.574-.93-.334-1.362"
	/>
	<path
		d="m60.576 83.08h-.153c-9.996.12-22.116-1.204-33.854-3.518-1.004 5.818-1.61 13.132-1.09 21.853 1.316 22.043 14.407 35.9 34.614 36.1h.82c20.208-.2 33.298-14.057 34.616-36.1.52-8.723-.087-16.035-1.092-21.854-11.739 2.315-23.862 3.64-33.86 3.518"
		fill="#fff"
	/>
	<g fill="#eb1923">
		<path d="m32.102 81.235v21.693s9.937 2.004 19.893.616v-20.009c-6.307-.357-13.109-1.152-19.893-2.3" />
		<path
			d="m105.539 60.412s-19.33 6.102-44.963 6.275h-.153c-25.591-.172-44.896-6.255-44.962-6.275l-6.474 16.158c16.193 4.882 36.261 8.028 51.436 7.845h.153c15.175.183 35.242-2.963 51.437-7.845zm0 0"
		/>
	</g>
</svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-c8c0c014 data-v-ef0e2ebd><span class="container" data-v-ef0e2ebd><span class="top" data-v-ef0e2ebd></span><span class="middle" data-v-ef0e2ebd></span><span class="bottom" data-v-ef0e2ebd></span></span></button></div></div></div></div><div class="divider" data-v-c8c0c014><div class="divider-line" data-v-c8c0c014></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-dddcdfd5 data-v-2f9201a6><div class="container" data-v-2f9201a6><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-2f9201a6><span class="vpi-align-left menu-icon" data-v-2f9201a6></span><span class="menu-text" data-v-2f9201a6>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-2f9201a6 data-v-d9458a3a><button data-v-d9458a3a>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-dddcdfd5 data-v-fc5081f3><div class="curtain" data-v-fc5081f3></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-fc5081f3><span class="visually-hidden" id="sidebar-aria-label" data-v-fc5081f3> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-91ec7ff8><section class="VPSidebarItem level-0" data-v-91ec7ff8 data-v-6e7c1f4a><div class="item" role="button" tabindex="0" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><h2 class="text" data-v-6e7c1f4a>前言</h2><!----></div><div class="items" data-v-6e7c1f4a><!--[--><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/preface/" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>介绍</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/preface/start.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>快速上手</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/preface/config.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>项目配置</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/preface/directory.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>目录结构</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/preface/commitlint.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>提交规范</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-91ec7ff8><section class="VPSidebarItem level-0" data-v-91ec7ff8 data-v-6e7c1f4a><div class="item" role="button" tabindex="0" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><h2 class="text" data-v-6e7c1f4a>其他</h2><!----></div><div class="items" data-v-6e7c1f4a><!--[--><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/other/recommendation.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>技术网站</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/other/FAQ.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>常见问题</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/other/logs.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>更新日志</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/other/deploy.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>私有化部署</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-91ec7ff8><section class="VPSidebarItem level-0 has-active" data-v-91ec7ff8 data-v-6e7c1f4a><div class="item" role="button" tabindex="0" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><h2 class="text" data-v-6e7c1f4a>AI指南</h2><!----></div><div class="items" data-v-6e7c1f4a><!--[--><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/guides/model.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>大语言模型指南</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/guides/prompts.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>提示词指南</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/guides/model-provider.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>模型服务商</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/guides/ollama.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>Ollama集成</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-6e7c1f4a data-v-6e7c1f4a><div class="item" data-v-6e7c1f4a><div class="indicator" data-v-6e7c1f4a></div><a class="VPLink link link" href="/pure-docs/guides/olama-usage.html" data-v-6e7c1f4a><!--[--><p class="text" data-v-6e7c1f4a>Ollama使用</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-dddcdfd5 data-v-f18bb95d><div class="VPDoc has-sidebar has-aside" data-v-f18bb95d data-v-eb1d4883><!--[--><!--]--><div class="container" data-v-eb1d4883><div class="aside" data-v-eb1d4883><div class="aside-curtain" data-v-eb1d4883></div><div class="aside-container" data-v-eb1d4883><div class="aside-content" data-v-eb1d4883><div class="VPDocAside" data-v-eb1d4883 data-v-04339706><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-04339706 data-v-df680d3c><div class="content" data-v-df680d3c><div class="outline-marker" data-v-df680d3c></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-df680d3c>本页目录</div><ul class="VPDocOutlineItem root" data-v-df680d3c data-v-d1d32a3b><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-04339706></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-eb1d4883><div class="content-container" data-v-eb1d4883><!--[--><!--]--><main class="main" data-v-eb1d4883><div style="position:relative;" class="vp-doc _pure-docs_guides_prompts" data-v-eb1d4883><div><h1 id="prompt-使用指南" tabindex="-1">Prompt 使用指南 <a class="header-anchor" href="#prompt-使用指南" aria-label="Permalink to &quot;Prompt 使用指南&quot;">​</a></h1><h2 id="prompt-基本概念" tabindex="-1">Prompt 基本概念 <a class="header-anchor" href="#prompt-基本概念" aria-label="Permalink to &quot;Prompt 基本概念&quot;">​</a></h2><p>生成式 AI 非常有用，但它需要人类指导。通常情况下，生成式 AI 能就像公司新来的实习生一样，非常有能力，但需要清晰的指示才能做得好。能够正确地指导生成式 AI 是一项非常强大的技能。你可以通过发送一个 prompt 来指导生成式 AI，这通常是一个文本指令。Prompt 是向助手提供的输入，它会影响输出结果。一个好的 Prompt 应该是结构化的，清晰的，简洁的，并且具有指向性。</p><h2 id="如何写好一个结构化-prompt" tabindex="-1">如何写好一个结构化 prompt <a class="header-anchor" href="#如何写好一个结构化-prompt" aria-label="Permalink to &quot;如何写好一个结构化 prompt&quot;">​</a></h2><!----><p>让我们看一个基本的讨论问题的例子:</p><blockquote><p><em>&quot;我们星球面临的最紧迫的环境问题是什么，个人可以采取哪些措施来帮助解决这些问题？&quot;</em></p></blockquote><p>我们可以将其转化为简单的助手提示，将回答以下问题：放在前面。</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>回答以下问题:</span></span>
<span class="line"><span>我们星球面临的最紧迫的环境问题是什么，个人可以采取哪些措施来帮助解决这些问题？</span></span></code></pre></div><p>由于这个提示生成的结果并不一致，有些只有一两个句子。一个典型的讨论回答应该有多个段落，因此这些结果并不理想。一个好的提示应该给出<strong>具体的格式和内容指令</strong>。您需要消除语言中的歧义以提高一致性和质量。这是一个更好的提示。</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>写一篇高度详细的论文，包括引言、正文和结论段，回答以下问题:</span></span>
<span class="line"><span>我们星球面临的最紧迫的环境问题是什么，</span></span>
<span class="line"><span>个人可以采取哪些措施来帮助解决这些问题？</span></span></code></pre></div><p>第二个提示生成了更长的输出和更好的结构。提示中使用 “论文” 一词是有意的，因为助手可以理解论文的定义，因此更有可能生成连贯的、结构化的回答。</p><br><h2 id="如何提升其质量和效果" tabindex="-1">如何提升其质量和效果 <a class="header-anchor" href="#如何提升其质量和效果" aria-label="Permalink to &quot;如何提升其质量和效果&quot;">​</a></h2><!----><p>在为讨论问题制定有效的提示后，您现在需要细化生成的结果。这可能涉及到调整输出以符合诸如字数等限制，或将不同生成的结果的概念组合在一起。</p><p>迭代的一个简单方法是生成多个输出并查看它们，以了解正在使用的概念和结构。一旦评估了输出，您就可以选择最合适的输出并将它们组合成一个连贯的回答。另一种迭代的方法是逐步开始，然后<strong>逐步扩展</strong>。这需要不止一个提示：一个起始提示，用于撰写最初的一两段，然后是其他提示，以扩展已经写过的内容。以下是一个潜在的哲学讨论问题:</p><blockquote><p><em>&quot;数学是发明还是发现？用仔细的推理来解释你的答案。&quot;</em></p></blockquote><p>将其添加到一个简单的提示中，如下所示:</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>写一个起始段回答以下问题:</span></span>
<span class="line"><span>数学是发明还是发现？用仔细的推理来解释你的答案。</span></span></code></pre></div><p>生成了一些回答，找到了一个我们喜欢的：</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>哲学家和数学家之间争论不休，数学是发明还是发现。</span></span>
<span class="line"><span>一些人认为，数学的概念和原则独立于人类思维存在，因此可以被认为是被发现而不是被发明的。</span></span>
<span class="line"><span>例如，数字、比率和几何形状的概念在自然界中被观察到，可以被抽象化和系统化地研究。</span></span></code></pre></div><p>是一个不错的开端。然后使用另一个提示来扩展：</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>我正在撰写一篇详细的短文，回答以下提示:</span></span>
<span class="line"><span>数学是发明还是发现？用仔细的推理来解释你的答案。这是我目前的情况: 哲学家和数学家之间争论不休，数学是发明还是发现。</span></span>
<span class="line"><span>一些人认为，数学的概念和原则独立于人类思维存在，因此可以被认为是被发现而不是被发明的。</span></span>
<span class="line"><span>例如，数字、比率和几何形状的概念在自然界中被观察到，可以被抽象化和系统化地研究。写下我文章的下一段。</span></span></code></pre></div><p>使用此提示生成了几个扩展，并选择了一个我喜欢的，最终得到了以下结果：</p><div class="language- vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang"></span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>哲学家和数学家之间争论不休，数学是发明还是发现。</span></span>
<span class="line"><span>一些人认为，数学的概念和原则独立于人类思维存在，因此可以被认为是被发现而不是被发明的。</span></span>
<span class="line"><span>例如，数字、比率和几何形状的概念在自然界中被观察到，可以被抽象化和系统化地研究。</span></span>
<span class="line"><span>另一方面，有人认为数学在很大程度上是人类思维的发明。</span></span>
<span class="line"><span>数学原理基于逻辑推理，这是人类思维的一个特征。</span></span>
<span class="line"><span>例如，欧几里德几何基于抽象的公理和前提，被接受为真实而无需证明。</span></span>
<span class="line"><span>因此，可以认为几何是人类思维的发明，而不是一种发现。</span></span>
<span class="line"><span>同样，数学公式和方程用于模拟和预测物理现象，这又是人类推理的结果。</span></span></code></pre></div><p>使用扩展提示，我们可以逐步地写作并在每个步骤上进行迭代。这对于需要<strong>生成更高质量的输出并希望逐步修改</strong>的情况非常有用。</p></div></div></main><footer class="VPDocFooter" data-v-eb1d4883 data-v-c9c3eb72><!--[--><!--]--><div class="edit-info" data-v-c9c3eb72><div class="edit-link" data-v-c9c3eb72><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/Hyk260/pure-docs/edit/main/src/guides/prompts.md" target="_blank" rel="noreferrer" data-v-c9c3eb72><!--[--><span class="vpi-square-pen edit-link-icon" data-v-c9c3eb72></span> 为此页提供修改建议<!--]--></a></div><div class="last-updated" data-v-c9c3eb72><p class="VPLastUpdated" data-v-c9c3eb72 data-v-0ecd90dd>上次更新: <time datetime="2024-11-06T06:42:50.000Z" data-v-0ecd90dd></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-c9c3eb72><span class="visually-hidden" id="doc-footer-aria-label" data-v-c9c3eb72>Pager</span><div class="pager" data-v-c9c3eb72><a class="VPLink link pager-link prev" href="/pure-docs/guides/model.html" data-v-c9c3eb72><!--[--><span class="desc" data-v-c9c3eb72>Previous page</span><span class="title" data-v-c9c3eb72>大语言模型指南</span><!--]--></a></div><div class="pager" data-v-c9c3eb72><a class="VPLink link pager-link next" href="/pure-docs/guides/model-provider.html" data-v-c9c3eb72><!--[--><span class="desc" data-v-c9c3eb72>Next page</span><span class="title" data-v-c9c3eb72>模型服务商</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-dddcdfd5 data-v-f923477b><div class="container" data-v-f923477b><p class="message" data-v-f923477b>Released under the MIT License.</p><p class="copyright" data-v-f923477b>Copyright (c) 2023 yongkang</p></div></footer><!--[--><!--]--></div></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"guides_model-provider.md\":\"4ffzDjc9\",\"guides_model.md\":\"DQ2sj402\",\"guides_olama-usage.md\":\"DDohLdvc\",\"guides_ollama.md\":\"Bsqr0ClO\",\"guides_prompts.md\":\"hnXtj2Et\",\"index.md\":\"BBU3yXVP\",\"other_deploy.md\":\"DmWNz-Or\",\"other_faq.md\":\"Ywgj2uM8\",\"other_logs.md\":\"CCKpqmUz\",\"other_recommendation.md\":\"Cln7myX3\",\"preface_commitlint.md\":\"WcuBSsQq\",\"preface_config.md\":\"CppkE-QF\",\"preface_directory.md\":\"CkrlRqr3\",\"preface_index.md\":\"Dg9pqRBm\",\"preface_start.md\":\"5ElgGXQN\"}");function deserializeFunctions(r){return Array.isArray(r)?r.map(deserializeFunctions):typeof r=="object"&&r!==null?Object.keys(r).reduce((t,n)=>(t[n]=deserializeFunctions(r[n]),t),{}):typeof r=="string"&&r.startsWith("_vp-fn_")?new Function(`return ${r.slice(7)}`)():r};window.__VP_SITE_DATA__=deserializeFunctions(JSON.parse("{\"lang\":\"zh-CN\",\"dir\":\"ltr\",\"title\":\"PureChat\",\"description\":\"PureChat文档\",\"base\":\"/pure-docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"editLink\":{\"pattern\":\"https://github.com/Hyk260/pure-docs/edit/main/src/:path\",\"text\":\"为此页提供修改建议\"},\"outline\":{\"label\":\"本页目录\",\"level\":[2,3]},\"lastUpdated\":{\"text\":\"上次更新\",\"formatOptions\":{\"dateStyle\":\"full\",\"timeStyle\":\"medium\"}},\"cleanUrls\":true,\"ignoreDeadLinks\":[{},{},{}],\"markdown\":{\"config\":\"_vp-fn_function(md) {\\n        md.use(groupIconMdPlugin);\\n      }\",\"codeTransformers\":[{\"preprocess\":\"_vp-fn_function(code, options2) {\\n      const cleanup = options2.transformers?.find((i) => i.name === \\\"vitepress:clean-up\\\");\\n      if (cleanup)\\n        options2.transformers?.splice(options2.transformers.indexOf(cleanup), 1);\\n      if (!explicitTrigger || options2.meta?.__raw?.match(trigger)) {\\n        const vPre = options2.transformers?.find((i) => i.name === \\\"vitepress:v-pre\\\");\\n        if (vPre)\\n          options2.transformers?.splice(options2.transformers.indexOf(vPre), 1);\\n      }\\n      return twoslash.preprocess.call(this, code, options2);\\n    }\",\"tokens\":\"_vp-fn_function(tokens) {\\n        const twoslash = map.get(this.meta);\\n        if (!twoslash)\\n          return;\\n        return splitTokens(\\n          tokens,\\n          twoslash.nodes.flatMap(\\n            (i) => [\\\"hover\\\", \\\"error\\\", \\\"query\\\", \\\"highlight\\\", \\\"completion\\\"].includes(i.type) ? [i.start, i.start + i.length] : []\\n          )\\n        );\\n      }\",\"pre\":\"_vp-fn_function(pre) {\\n        const twoslash = map.get(this.meta);\\n        if (!twoslash)\\n          return;\\n        this.addClassToHast(pre, \\\"twoslash lsp\\\");\\n      }\",\"code\":\"_vp-fn_function(codeEl) {\\n        const twoslash = map.get(this.meta);\\n        if (!twoslash)\\n          return;\\n        const insertAfterLine = (line, nodes) => {\\n          if (!nodes.length)\\n            return;\\n          let index;\\n          if (line >= this.lines.length) {\\n            index = codeEl.children.length;\\n          } else {\\n            const lineEl = this.lines[line];\\n            index = codeEl.children.indexOf(lineEl);\\n            if (index === -1) {\\n              onShikiError(new ShikiTwoslashError(`Cannot find line ${line} in code element`), this.source, this.options.lang);\\n              return;\\n            }\\n          }\\n          const nodeAfter = codeEl.children[index + 1];\\n          if (nodeAfter && nodeAfter.type === \\\"text\\\" && nodeAfter.value === \\\"\\\\n\\\")\\n            codeEl.children.splice(index + 1, 1);\\n          codeEl.children.splice(index + 1, 0, ...nodes);\\n        };\\n        const tokensMap = [];\\n        this.lines.forEach((lineEl, line) => {\\n          let index = 0;\\n          for (const token of lineEl.children.flatMap((i) => i.type === \\\"element\\\" ? i.children || [] : [])) {\\n            if (\\\"value\\\" in token && typeof token.value === \\\"string\\\") {\\n              tokensMap.push([line, index, index + token.value.length, token]);\\n              index += token.value.length;\\n            }\\n          }\\n        });\\n        const locateTextTokens = (line, character, length) => {\\n          const start = character;\\n          const end = character + length;\\n          if (length === 0) {\\n            return tokensMap.filter(([l, s, e]) => l === line && s < start && start <= e).map((i) => i[3]);\\n          }\\n          return tokensMap.filter(([l, s, e]) => l === line && (start <= s && s < end) && (start < e && e <= end)).map((i) => i[3]);\\n        };\\n        const tokensSkipHover = /* @__PURE__ */ new Set();\\n        const actionsHovers = [];\\n        const actionsHighlights = [];\\n        for (const node of twoslash.nodes) {\\n          if (node.type === \\\"tag\\\") {\\n            if (renderer.lineCustomTag)\\n              insertAfterLine(node.line, renderer.lineCustomTag.call(this, node));\\n            continue;\\n          }\\n          const tokens = locateTextTokens(node.line, node.character, node.length);\\n          if (!tokens.length && !(node.type === \\\"error\\\" && renderer.nodesError)) {\\n            onShikiError(new ShikiTwoslashError(`Cannot find tokens for node: ${JSON.stringify(node)}`), this.source, this.options.lang);\\n            continue;\\n          }\\n          const wrapTokens = (fn) => {\\n            const line = this.lines[node.line];\\n            let charIndex = 0;\\n            let itemStart = line.children.length;\\n            let itemEnd = 0;\\n            line.children.forEach((token, index) => {\\n              if (charIndex >= node.character && index < itemStart)\\n                itemStart = index;\\n              if (charIndex <= node.character + node.length && index > itemEnd)\\n                itemEnd = index;\\n              charIndex += getTokenString(token).length;\\n            });\\n            if (charIndex <= node.character + node.length)\\n              itemEnd = line.children.length;\\n            const targets = line.children.slice(itemStart, itemEnd);\\n            const length = targets.length;\\n            line.children.splice(itemStart, length, ...fn(targets));\\n          };\\n          switch (node.type) {\\n            case \\\"error\\\": {\\n              if (renderer.nodeError) {\\n                tokens.forEach((token) => {\\n                  tokensSkipHover.add(token);\\n                  const clone = { ...token };\\n                  Object.assign(token, renderer.nodeError.call(this, node, clone));\\n                });\\n              }\\n              if (renderer.nodesError) {\\n                tokens.forEach((token) => {\\n                  tokensSkipHover.add(token);\\n                });\\n                actionsHighlights.push(() => {\\n                  wrapTokens((targets) => renderer.nodesError?.call(this, node, targets) || targets);\\n                });\\n              }\\n              if (renderer.lineError)\\n                insertAfterLine(node.line, renderer.lineError.call(this, node));\\n              break;\\n            }\\n            case \\\"query\\\": {\\n              const token = tokens[0];\\n              if (token && renderer.nodeQuery) {\\n                tokensSkipHover.add(token);\\n                const clone = { ...token };\\n                Object.assign(token, renderer.nodeQuery.call(this, node, clone));\\n              }\\n              if (renderer.lineQuery)\\n                insertAfterLine(node.line, renderer.lineQuery.call(this, node, token));\\n              break;\\n            }\\n            case \\\"completion\\\": {\\n              if (renderer.nodeCompletion) {\\n                tokens.forEach((token) => {\\n                  tokensSkipHover.add(token);\\n                  const clone = { ...token };\\n                  Object.assign(token, renderer.nodeCompletion.call(this, node, clone));\\n                });\\n              }\\n              if (renderer.lineCompletion)\\n                insertAfterLine(node.line, renderer.lineCompletion.call(this, node));\\n              break;\\n            }\\n            case \\\"highlight\\\": {\\n              if (renderer.nodesHighlight) {\\n                actionsHighlights.push(() => {\\n                  wrapTokens((targets) => renderer.nodesHighlight?.call(this, node, targets) || targets);\\n                });\\n              }\\n              break;\\n            }\\n            case \\\"hover\\\": {\\n              if (renderer.nodeStaticInfo) {\\n                actionsHovers.push(() => {\\n                  tokens.forEach((token) => {\\n                    if (tokensSkipHover.has(token))\\n                      return;\\n                    tokensSkipHover.add(token);\\n                    const clone = { ...token };\\n                    Object.assign(token, renderer.nodeStaticInfo.call(this, node, clone));\\n                  });\\n                });\\n              }\\n              break;\\n            }\\n            default: {\\n              onShikiError(new ShikiTwoslashError(`Unknown node type: ${node?.type}`), this.source, this.options.lang);\\n            }\\n          }\\n        }\\n        actionsHovers.forEach((i) => i());\\n        actionsHighlights.forEach((i) => i());\\n      }\",\"name\":\"@shikijs/vitepress-twoslash\",\"postprocess\":\"_vp-fn_function(html) {\\n      if (this.meta.twoslash)\\n        return html.replace(/\\\\{/g, \\\"&#123;\\\");\\n    }\"}],\"theme\":{\"light\":\"vitesse-light\",\"dark\":\"vitesse-dark\"}},\"transformPageData\":\"_vp-fn_function(pageData) {\\n      const canonicalUrl = `${ogUrl}/${pageData.relativePath}`.replace(/\\\\/index\\\\.md$/, \\\"/\\\").replace(/\\\\.md$/, \\\"/\\\");\\n      pageData.frontmatter.head ??= [];\\n      pageData.frontmatter.head.unshift(\\n        [\\\"link\\\", { rel: \\\"canonical\\\", href: canonicalUrl }],\\n        [\\\"meta\\\", { property: \\\"og:title\\\", content: pageData.title }]\\n      );\\n      return pageData;\\n    }\",\"logo\":\"/favicon.png\",\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Hyk260/PureChat\"},{\"icon\":{\"svg\":\"\\n<svg height=\\\"2500\\\" viewBox=\\\"-1.94 0 124.879 145.085\\\" width=\\\"2101\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\">\\n\\t<path\\n\\t\\td=\\\"m60.503 142.237c-12.533 0-24.038-4.195-31.445-10.46-3.762 1.124-8.574 2.932-11.61 5.175-2.6 1.918-2.275 3.874-1.807 4.663 2.056 3.47 35.273 2.216 44.862 1.136zm0 0c12.535 0 24.039-4.195 31.447-10.46 3.76 1.124 8.573 2.932 11.61 5.175 2.598 1.918 2.274 3.874 1.805 4.663-2.056 3.47-35.272 2.216-44.862 1.136zm0 0\\\"\\n\\t\\tfill=\\\"#faab07\\\"\\n\\t/>\\n\\t<path\\n\\t\\td=\\\"m60.576 67.119c20.698-.14 37.286-4.147 42.907-5.683 1.34-.367 2.056-1.024 2.056-1.024.005-.189.085-3.37.085-5.01 0-27.634-13.044-55.401-45.124-55.402-32.08.001-45.125 27.769-45.125 55.401 0 1.642.08 4.822.086 5.01 0 0 .583.615 1.65.913 5.19 1.444 22.09 5.65 43.312 5.795zm56.245 23.02c-1.283-4.129-3.034-8.944-4.808-13.568 0 0-1.02-.126-1.537.023-15.913 4.623-35.202 7.57-49.9 7.392h-.153c-14.616.175-33.774-2.737-49.634-7.315-.606-.175-1.802-.1-1.802-.1-1.774 4.624-3.525 9.44-4.808 13.568-6.119 19.69-4.136 27.838-2.627 28.02 3.239.392 12.606-14.821 12.606-14.821 0 15.459 13.957 39.195 45.918 39.413h.848c31.96-.218 45.917-23.954 45.917-39.413 0 0 9.368 15.213 12.607 14.822 1.508-.183 3.491-8.332-2.627-28.021\\\"\\n\\t/>\\n\\t<path\\n\\t\\td=\\\"m49.085 40.824c-4.352.197-8.07-4.76-8.304-11.063-.236-6.305 3.098-11.576 7.45-11.773 4.347-.195 8.064 4.76 8.3 11.065.238 6.306-3.097 11.577-7.446 11.771m31.133-11.063c-.233 6.302-3.951 11.26-8.303 11.063-4.35-.195-7.684-5.465-7.446-11.77.236-6.305 3.952-11.26 8.3-11.066 4.352.197 7.686 5.468 7.449 11.773\\\"\\n\\t\\tfill=\\\"#fff\\\"\\n\\t/>\\n\\t<path\\n\\t\\td=\\\"m87.952 49.725c-1.162-2.575-12.875-5.445-27.374-5.445h-.156c-14.5 0-26.212 2.87-27.375 5.446a.863.863 0 0 0 -.085.367c0 .186.063.352.16.496.98 1.427 13.985 8.487 27.3 8.487h.156c13.314 0 26.319-7.058 27.299-8.487a.873.873 0 0 0 .16-.498.856.856 0 0 0 -.085-.365\\\"\\n\\t\\tfill=\\\"#faab07\\\"\\n\\t/>\\n\\t<path\\n\\t\\td=\\\"m54.434 29.854c.199 2.49-1.167 4.702-3.046 4.943-1.883.242-3.568-1.58-3.768-4.07-.197-2.492 1.167-4.704 3.043-4.944 1.886-.244 3.574 1.58 3.771 4.07m11.956.833c.385-.689 3.004-4.312 8.427-2.993 1.425.347 2.084.857 2.223 1.057.205.296.262.718.053 1.286-.412 1.126-1.263 1.095-1.734.875-.305-.142-4.082-2.66-7.562 1.097-.24.257-.668.346-1.073.04-.407-.308-.574-.93-.334-1.362\\\"\\n\\t/>\\n\\t<path\\n\\t\\td=\\\"m60.576 83.08h-.153c-9.996.12-22.116-1.204-33.854-3.518-1.004 5.818-1.61 13.132-1.09 21.853 1.316 22.043 14.407 35.9 34.614 36.1h.82c20.208-.2 33.298-14.057 34.616-36.1.52-8.723-.087-16.035-1.092-21.854-11.739 2.315-23.862 3.64-33.86 3.518\\\"\\n\\t\\tfill=\\\"#fff\\\"\\n\\t/>\\n\\t<g fill=\\\"#eb1923\\\">\\n\\t\\t<path d=\\\"m32.102 81.235v21.693s9.937 2.004 19.893.616v-20.009c-6.307-.357-13.109-1.152-19.893-2.3\\\" />\\n\\t\\t<path\\n\\t\\t\\td=\\\"m105.539 60.412s-19.33 6.102-44.963 6.275h-.153c-25.591-.172-44.896-6.255-44.962-6.275l-6.474 16.158c16.193 4.882 36.261 8.028 51.436 7.845h.153c15.175.183 35.242-2.963 51.437-7.845zm0 0\\\"\\n\\t\\t/>\\n\\t</g>\\n</svg>\"},\"link\":\"https://jq.qq.com/?_wv=1027&k=Cd4Ihd2J\"}],\"nav\":[{\"text\":\"介绍\",\"link\":\"/preface/\"},{\"text\":\"常见问题\",\"link\":\"/other/FAQ\"},{\"text\":\"更新日志\",\"link\":\"/other/logs\"},{\"text\":\"链接\",\"items\":[{\"text\":\"在线预览\",\"link\":\"https://purechat.cn\"},{\"text\":\"后端地址\",\"link\":\"https://github.com/Hyk260/pure-backend\"},{\"text\":\"Electron\",\"link\":\"https://github.com/Hyk260/PureChat/releases\"},{\"text\":\"gitee仓库\",\"link\":\"https://gitee.com/H260788/PureChat\"},{\"text\":\"github仓库\",\"link\":\"https://github.com/Hyk260/PureChat\"}]}],\"sidebar\":[{\"text\":\"前言\",\"items\":[{\"text\":\"介绍\",\"link\":\"/preface/\"},{\"text\":\"快速上手\",\"link\":\"/preface/start\"},{\"text\":\"项目配置\",\"link\":\"/preface/config\"},{\"text\":\"目录结构\",\"link\":\"/preface/directory\"},{\"text\":\"提交规范\",\"link\":\"/preface/commitlint\"}]},{\"text\":\"其他\",\"items\":[{\"text\":\"技术网站\",\"link\":\"/other/recommendation\"},{\"text\":\"常见问题\",\"link\":\"/other/FAQ\"},{\"text\":\"更新日志\",\"link\":\"/other/logs\"},{\"text\":\"私有化部署\",\"link\":\"/other/deploy\"}]},{\"text\":\"AI指南\",\"items\":[{\"text\":\"大语言模型指南\",\"link\":\"/guides/model\"},{\"text\":\"提示词指南\",\"link\":\"/guides/prompts\"},{\"text\":\"模型服务商\",\"link\":\"/guides/model-provider\"},{\"text\":\"Ollama集成\",\"link\":\"/guides/ollama\"},{\"text\":\"Ollama使用\",\"link\":\"/guides/olama-usage\"}]}],\"footer\":{\"message\":\"Released under the MIT License.\",\"copyright\":\"Copyright (c) 2023 yongkang\"},\"search\":{\"provider\":\"local\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}"));</script>
    
  </body>
</html>